<?php
if ( !defined('IN_ADMINCP') || !defined('IN_SEC') ){
	exit('Access Denied.');
}
$adminid = &$admincp->adminid;

$searchby = $_G['gp_searchby'] ? $_G['gp_searchby'] : 'all';
$where = array(
	'adminid' => 0
);

$count = DB::Count('customer', $where);
$pages = pages($count, 20);
$customers = limitquery('customer', $where, $options = array(), $pages['offset'], $pages['pagesize']);
?>